<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="renderer" content="webkit">
		<title>基础数据管理</title>
	    <meta name="keywords" content="基础数据管理">
	    <meta name="description" content="基础数据管理">
		<!-- css -->
		<link href="../css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
	    <link href="../css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
	    <link href="../css/animate.min.css" rel="stylesheet">
	    <link href="../css/style.min862f.css?v=4.1.0" rel="stylesheet">
	    <link href="../css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet"> 
	    <link href="../css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
	    <style type="text/css">
	    	.row{
	    		padding: 0px;
	    		margin: 0px;
	    	}
	    </style>
	</head>
	<body class="gray-bg">
	    <div class="wrapper wrapper-content animated fadeInRight">
	        <div class="ibox float-e-margins">
				<div class="ibox-content">
		                <div class="panel-body">
						  <div id="toolbar" class="btn-group">
						  		<form id="formSearch">
					        		<div class="tooltip-demo" style="float: left;">
								        <button id="btnBaseDataAdd" type="button" class="btn btn-primary power-btn" power="BaseDataAdd">
									         <span class="fa fa-plus" aria-hidden="true"></span> 新增
									    </button>
									    <button id="btnBaseDataDelete" type="button" class="btn btn-primary  power-btn" power="BaseDataDelete">
									         <span class="fa fa-trash" aria-hidden="true"></span> 删除
									    </button>
									    <button type="button" id="btnBaseDataQuery" class="btn btn-primary  power-btn" power="BaseDataQuery"> <span class="fa fa-search" aria-hidden="true"></span> 查 询 </button>
								        <button type="reset" id="btnBaseDataRest" class="btn btn-primary"><span class="fa fa-eraser" aria-hidden="true"></span> 重 置</button>
							        	<!-- 
							        	<button id="btnRefreshData" type="button" class="btn btn-warning" data-toggle="tooltip" data-placement="bottom" title="当据有变化时，点击这里重新将数据同步到系统。请勿频繁点击">
			                            	<span class="fa fa-refresh" aria-hidden="true"></span> 刷新缓存
			                            </button>
			                             -->
							        </div>
							        <div style="float: left;">&nbsp;</div>
							        <div style="float: left;">
							        	<input type="text" style="font-size: 12px;" placeholder="请输入基础数据名称" class="form-control" id="baseName">
							        </div>
							        <div style="float: left;">&nbsp;</div>
							        <div style="float: left;">
							        	<input type="text" style="font-size: 12px;" placeholder="请输入基础数据编码" class="form-control" id="baseCode">
							        </div>
	 				            </form>
						  </div>
						  <table id="tbBaseData" ></table>
		                </div>
					    <!-- 弹出框 -->
					    <div class="modal inmodal fade" id="baseDataModal" tabindex="-1" role="dialog" aria-hidden="true">
	                    	 <div class="modal-dialog">
	                         	<div class="modal-content animated">
	                            	<div class="modal-header">
	                                 	<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">关闭</span></button>
	                                 	<h4 class="modal-title">添加配置</h4>
	                                </div>
	                               	<div class="modal-body">
	                               		<div id="edit">
		                                   	 <form class="form-horizontal m-t" id="baseDataForm">
		                                   	 	<input type="hidden" id="modalType" value="" />
		                                   	 	<input type="hidden" id="baseId" value="" />
		                                   	 	<input type="hidden" id="baseParentId" value="" />
		                                   	 	<input type="hidden" id="baseLevel" value="0" />
					                            <div class="form-group">
					                                <label class="col-sm-3 control-label">名称：</label>
					                                <div class="col-sm-8">
					                                    <input id="baseName" name="baseName" class="form-control" type="text">
					                                </div>
						                       	</div>
					                            <div id="divBaseCode" class="form-group">
					                            	<label class="col-sm-3 control-label">编码：</label>
					                                <div class="col-sm-8">
					                                    <input id="baseCode" name="baseCode" class="form-control" type="text" >
					                                </div>
					                           </div>
						                       <div id="divBaseCodeValue" class="form-group">
					                                <label class="col-sm-3 control-label">编码值：</label>
					                                <div class="col-sm-8">
					                                    <input id="baseCodeValue" name="baseCodeValue" class="form-control" type="text" >
					                                </div>
					                            </div>
					                   			<div class="form-group">
					                                <label class="col-sm-3 control-label">状态：</label>
					                                <div class="col-sm-8">
				                                        <select id="status" class="form-control" name="status">
					                                        <option value="1">启用</option>
					                                        <option value="0">禁用</option>
					                                    </select>
					                                </div>
					                            </div>
					                            <div class="form-group">
					                                <label class="col-sm-3 control-label">备注：</label>
					                                <div class="col-sm-8">
					                                    <textarea id="remark" name="remark" class="form-control" style="height: 50px;"></textarea>
					                                </div>
					                            </div>
					                            <div class="form-group">
					                                <label class="col-sm-3 control-label">扩展字段1：</label>
					                                <div class="col-sm-8">
					                                    <input id="extendField1" name="extendField1" class="form-control" type="text" >
					                                </div>
					                            </div>
					                            <div class="form-group">
					                                <label class="col-sm-3 control-label">扩展字段2：</label>
					                                <div class="col-sm-8">
					                                    <input id="extendField2" name="extendField2" class="form-control" type="text" >
					                                </div>
					                            </div>
					                            <div class="form-group">
					                                <label class="col-sm-3 control-label">扩展字段3：</label>
					                                <div class="col-sm-8">
					                                    <input id="extendField3" name="extendField3" class="form-control" type="text" >
					                                </div>
					                            </div>
					                            <div class="form-group">
					                                <label class="col-sm-3 control-label">扩展字段4：</label>
					                                <div class="col-sm-8">
					                                    <input id="extendField4" name="extendField4" class="form-control" type="text" >
					                                </div>
					                            </div>
					                        </form>
				                        </div>
		                               	<div id="detail" class="form-horizontal m-t">
		                               		<form class="form-horizontal m-t" id="baseDataDetailForm">
					                            <div class="form-group">
					                                <label class="col-sm-3 control-label">名称：</label>
					                                <div class="col-sm-8">
					                                    <label id="baseName" name="baseName" class="form-control" ></label>
					                                </div>
						                       	</div>
					                            <div class="form-group">
					                            	<label class="col-sm-3 control-label">编码：</label>
					                                <div class="col-sm-8">
					                                    <label id="baseCode" name="baseCode" class="form-control" ></label>
					                                </div>
					                           </div>
						                       <div id="divBaseCodeValue" class="form-group">
					                                <label class="col-sm-3 control-label">编码值：</label>
					                                <div class="col-sm-8">
					                                    <label id="baseCodeValue" name="baseCodeValue" class="form-control" ></label>
					                                </div>
					                            </div>
					                   			<div class="form-group">
					                                <label class="col-sm-3 control-label">状态：</label>
					                                <div class="col-sm-8">
					                                	<label id="status" name="status" class="form-control" ></label>
					                                </div>
					                            </div>
					                            <div class="form-group">
					                                <label class="col-sm-3 control-label">备注：</label>
					                                <div class="col-sm-8">
					                                    <textarea id="remark" name="remark" class="form-control" style="height: 50px;" disabled="disabled"></textarea>
					                                </div>
					                            </div>
					                            <div class="form-group">
					                                <label class="col-sm-3 control-label">扩展字段1：</label>
					                                <div class="col-sm-8">
					                                    <label id="extendField1" name="extendField1" class="form-control" type="text" ></label>
					                                </div>
					                            </div>
					                            <div class="form-group">
					                                <label class="col-sm-3 control-label">扩展字段2：</label>
					                                <div class="col-sm-8">
					                                    <label id="extendField2" name="extendField2" class="form-control" type="text" ></label>
					                                </div>
					                            </div>
					                            <div class="form-group">
					                                <label class="col-sm-3 control-label">扩展字段3：</label>
					                                <div class="col-sm-8">
					                                    <label id="extendField3" name="extendField3" class="form-control" type="text" ></label>
					                                </div>
					                            </div>
					                            <div class="form-group">
					                                <label class="col-sm-3 control-label">扩展字段4：</label>
					                                <div class="col-sm-8">
					                                    <label id="extendField4" name="extendField4" class="form-control" type="text" ></label>
					                                </div>
					                            </div>
					                        </form>
		                               	</div>
	                               	</div>
	                               	<div class="modal-footer">
	                                   	<button type="button" class="btn btn-white" data-dismiss="modal"><span class="fa fa-close" aria-hidden="true"></span> 关 闭 </button>
	                                   	<button type="submit" class="btn btn-primary" id="btnBaseDataSave"><span class="fa fa-save" aria-hidden="true"></span> 保 存 </button>
	                               	</div>
	                             </div>
	                         </div>
	                     </div>
		            </div>
			</div>
		</div>
		<!-- js -->
		<script src="../js/jquery.min.js?v=2.1.4"></script>
	    <script src="../js/bootstrap.min.js?v=3.3.6"></script>
	    <script src="../js/content.min.js?v=1.0.0"></script>
	    <script src="../js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
	    <script src="../js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
	    <script src="../js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
		<script src="../js/plugins/validate/jquery.validate.min.js"></script>
	    <script src="../js/plugins/sweetalert/sweetalert.min.js"></script>
	    <script src="../common/js/aes.js" type="text/javascript"></script>
		<script src="../common/js/CommonUtils.js"></script>
	    <script src="baseData_list.js"></script>
	</body>
</html>
